<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加管理员</title>
<script src="<%=basePath%>WebsiteBackstage/js/ajaxUse.js" type="text/javascript" ></script>
<link rel="stylesheet" type="text/css" href="<%=basePath%>WebsiteBackstage/css/inside.css"/>
</head>
<body>
	添加管理员：
	<s:form action="admin_add">
    		<s:textfield name="admin.name" label="用户名" onblur="fetchUser();"/>
    			<s:div id='console' />
     		<s:password name="admin.pwd" label="密码"/>
    		<s:submit/>
		</s:form>
		<s:fielderror fieldName="inputError" theme="simple"/>	
</body>
</html>